html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.globalSpin {
  width: 100%;
  margin: 40px 0 !important;
}

ul,
ol {
  list-style: none;
}


body {
  margin: 0;
  background-color: #f9f9f9;
}
@primary-color: #496efd;
.login-wrapper {
  height: 100%;
  width: 100%;
  box-sizing: content-box;

  .login-form {
    width: 1063px;
    height: 627px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -313px 0 0 -531px;
    .copy-right {
      position: absolute;
      width: 100%;
      font-size: 14px;
      text-align: center;
      bottom: -62px;
    }
    .part-left {
      width: 412px;
      position: relative;
      height: 100%;
      float: left;
      .part-left-content {
        > h2 {
          font-size: 26px;
          text-align: center;
          margin-top: 139px;
          color: #fff;
        }
        > p {
          color: #fff;
          font-size: 14px;
          text-align: center;
        }
      }
      .part-left-bg {
        background: url('./assets/images/bg.png');
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.95;
        z-index: 0;
      }
      .part-left-content {
        position: relative;
        z-index: 1;
        > h2 {
          font-size: 26px;
          text-align: center;
          margin-top: 139px;
          color: #fff;
        }
        > p {
          color: #fff;
          font-size: 14px;
          text-align: center;
        }
      }
    }

    > .part-right {
      float: right;
      width: 651px;
      height: 100%;
      background-color: #fff;
      > .form-wrapper {
        width: 364px;
        margin: 0 auto;
        > h2 {
          font-size: 18px;
          font-weight: bold;
          margin: 90px 0 30px 25px;
          color: rgba(0, 0, 0, 0.647058823529412);
        }
        > .tabs {
          overflow: hidden;
          font-size: 16px;
          margin: 80px 0 20px 0;
          > a {
            display: block;
            width: 50%;
            float: left;
            text-align: center;
            padding: 15px 0;
            color: #333;
            border-bottom: 2px solid #fff;
            cursor: pointer;
            &.active {
              color: rgb(6, 125, 198);
              border-color: rgb(6, 125, 198);
            }
          }
        }
      }
    }
    .login-input {
      width: 100%;
      height: 44px;
      background-color: #f5f5f5;
      border: none;
    }
  }

  .link-button {
    display: block;
    width: 187px;
    line-height: 44px;
    border-radius: 25px;
    border: 1px solid #fff;
    text-align: center;
    margin: 20px auto;
    color: #fff;
    cursor: pointer;
  }
  .tl {
    text-align: left;
  }
  .tr {
    text-align: right;
  }
  .tc {
    text-align: center;
  }
  .primary-button,
  .get-code {
    width: 100%;
    height: 44px;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    color: #fff;
    margin: 0 auto;
    background: @primary-color;
    &:hover,
    &:focus {
      background: @primary-color;
      color: #fff;
    }
    &[disabled] {
      color: #fff;
    }
  }

  .link {
    color: #2d79f3;
    cursor: pointer;
  }
  .get-code {
    width: 100%;
    border-radius: 0;
    &.disabled {
      background-color: #f5f5f5;
      color: #b3b3b3;
      cursor: wait;
    }
  }
  .ant-form-item {
    margin-bottom: 12px;
  }
}
/*背景图片*/

.bg1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
}
.bg2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
}
.toggle-page-actions-wrapper {
  position: absolute;
  top: 28px;
  right: 35px;
  z-index: 1;
  > span,
  a {
    display: inline-block;
    width: 60px;
    height: 30px;
    text-align: center;
    line-height: 30px;
  }
  > a {
    color: #1890ff;
    border: 1px solid #1890ff;
    border-radius: 20px;
  }
}

.standard-filter-wrapper {
  background-color: #fff;
  padding: 20px;
}
